<include file="Public:header" />
<section class="section">
	<div class="step">
		<ul>
			<li class="on"><em>1</em>检测环境</li>
			<li class="current"><em>2</em>创建数据</li>
			<li><em>3</em>完成安装</li>
		</ul>
	</div>
	<form id="J_install_form" method="post">
	<input type="hidden" name="force" value="0" />
	<div class="server">
		<table width="100%">
			<tr>
				<td class="td1" width="100">数据库信息</td>
				<td class="td1" width="200">&nbsp;</td>
				<td class="td1">&nbsp;</td>
			</tr>
			<tr>
				<td class="tar">数据库类型：</td>
				<td>
                <select name="db[]" class="input">
                    <option value="mysql">mysql</option>
                    <option value="mysqli">mysqli</option>
                </select></td>
				<td><div id="J_install_tip_dbhost"><span class="gray">数据库连接类型，服务器支持的情况下建议使用mysqli</span></div></td>
			</tr>
			<tr>
				<td class="tar">数据库服务器：</td>
				<td><input type="text" name="db[]" value="localhost" class="input"></td>
				<td><div id="J_install_tip_dbhost"><span class="gray">数据库服务器地址，一般为localhost</span></div></td>
			</tr>
			<tr>
				<td class="tar">数据库名：</td>
				<td><input type="text" name="db[]" value="" class="input"></td>
				<td><div id="J_install_tip_dbname"></div></td>
			</tr>
			<tr>
				<td class="tar">数据库用户名：</td>
				<td><input type="text" name="db[]" value="root" class="input"></td>
				<td><div id="J_install_tip_dbuser"></div></td>
			</tr>
			<tr>
				<td class="tar">数据库密码：</td>
				<td><input type="text" name="db[]" value="" class="input" autoComplete="off"></td>
				<td><div id="J_install_tip_dbpw"></div></td>
			</tr>
			<tr>
				<td class="tar">数据库端口：</td>
				<td><input type="text" name="db[]" value="3306" class="input"></td>
				<td><div id="J_install_tip_dbuser"></div></td>
			</tr>
			<tr>
				<td class="tar">数据库表前缀：</td>
				<td><input type="text" name="db[]" value="sent_" class="input"></td>
				<td><div id="J_install_tip_dbprefix"><span class="gray">建议使用默认，同一数据库安装多个phpwind时需修改</span></div></td>
			</tr>
		</table>
		<table width="100%">
			<tr>
				<td class="td1" width="100">创始人信息</td>
				<td class="td1" width="200">&nbsp;</td>
				<td class="td1">&nbsp;</td>
			</tr>
			<tr>
				<td class="tar">管理员帐号：</td>
				<td><input type="text" name="admin[]" value="admin" class="input"></td>
				<td><div id="J_install_tip_manager"></div></td>
			</tr>
			<tr>
				<td class="tar">密码：</td>
				<td><input type="text" name="admin[]" id="J_manager_pwd" class="input" autoComplete="off"></td>
				<td><div id="J_install_tip_manager_pwd"></div></td>
			</tr>
			<tr>
				<td class="tar">重复密码：</td>
				<td><input type="text" name="admin[]" class="input" autoComplete="off"></td>
				<td><div id="J_install_tip_manager_ckpwd"></div></td>
			</tr>
			<tr>
				<td class="tar">邮箱：</td>
				<td><input type="text" name="admin[]" class="input"></td>
				<td><div id="J_install_tip_manager_ckpwd"></div></td>
			</tr>
		</table>
		<div id="J_response_tips" style="display:none;"></div>
	</div>
	<div class="bottom tac">
		<a href="{:U('Install/Index/check')}" class="btn">上一步</a><button type="submit" class="btn btn_submit J_install_btn">创建数据</button>
	</div>
</form>
</section>
<include file="Public:footer" />